Micron Document
🌎 rns.kin.earth git 🌍

Node / dev / reticulum / commits / 8d32b37

Commit 8d32b378d9ae2d84b4e335adc5e93bb9f211fbac


Parents : 799bcfc
Author : Mark Qvist <mark@unsigned.io>
Date : 2025-07-13T11:49:12+02:00

Fixed log statements

Changes

1 files changed, 2 insertions(+), 2 deletions(-)


Diff

diff --git a/RNS/Transport.py b/RNS/Transport.py
index 71660501..cbc0aa59 100755
--- a/RNS/Transport.py
+++ b/RNS/Transport.py
@@ -1115,7 +1115,7 @@ class Transport:
if packet.destination_type == RNS.Destination.PLAIN:
if packet.packet_type != RNS.Packet.ANNOUNCE:
if packet.hops > 1:
- RNS.log("Dropped PLAIN packet "+RNS.prettyhexrep(packet.hash)+" with "+str(packet.hops)+" hops", RNS.LOG_DEBUG)
+ RNS.log("Dropped PLAIN packet "+RNS.prettyhexrep(packet.packet_hash)+" with "+str(packet.hops)+" hops", RNS.LOG_DEBUG)
return False
else:
return True
@@ -1126,7 +1126,7 @@ class Transport:
if packet.destination_type == RNS.Destination.GROUP:
if packet.packet_type != RNS.Packet.ANNOUNCE:
if packet.hops > 1:
- RNS.log("Dropped GROUP packet "+RNS.prettyhexrep(packet.hash)+" with "+str(packet.hops)+" hops", RNS.LOG_DEBUG)
+ RNS.log("Dropped GROUP packet "+RNS.prettyhexrep(packet.packet_hash)+" with "+str(packet.hops)+" hops", RNS.LOG_DEBUG)
return False
else:
return True

Served by rngit 1.5.2 - Generated in 0.04s